Skip to content

fix: label timeout estimate as 'total window' not remaining time#21

Open
Grizouforever wants to merge 1 commit intoentrius:testfrom
Grizouforever:fix/timeout-estimate-label-total-window
Open

fix: label timeout estimate as 'total window' not remaining time#21
Grizouforever wants to merge 1 commit intoentrius:testfrom
Grizouforever:fix/timeout-estimate-label-total-window

Conversation

@Grizouforever
Copy link
Copy Markdown

Summary

Change the timeout block estimate label from window to total window in SwapDetailPage.tsx. The estimate is calculated as timeoutBlock - initiatedBlock, which is the full swap duration — not remaining time. The misleading label could cause users to believe a swap has more time remaining than it actually does.

@anderdc @LandynDev

Related Issues

Fixes #20

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

Before: Block #12345 (~20 min window)
After: Block #12345 (~20 min total window)

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes

The timeout block estimate was computed as timeoutBlock - initiatedBlock,
which is the total swap window duration, not remaining time. The label now
says 'total window' to prevent users from misreading it as time remaining.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timeout estimate shows total window duration, not remaining time

1 participant